PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.images Package / PDFImage Class / setBitsPerComponent Method
The number of bits used to represent each color component.
In This Topic
    setBitsPerComponent Method
    In This Topic
    Sets the bits per component.
    Valid values are 1, 2, 4, 8, and (in PDF 1.5) 16.
    Syntax
    public void setBitsPerComponent( 
       int bpc
    )

    Parameters

    bpc
    The number of bits used to represent each color component.
    Exceptions
    ExceptionDescription
    When bpc has an unsupported value.
    See Also